<?php 
include ("../Connections/AccesosBD.php");
?>
<input name="btn_mr_save" type="button" value="Guardar Resultados">
<input type="button" name="btn_mr_query" id="btn_mr_query" value="Consultar" onclick="viewResMonth()" />
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="tbl_dat_rmes">
  <tr class="noView">
    <td>Año Proceso :</td>
    <td>
      <input name="t_mr_year" class="qt" type="text" id="t_mr_year" size="10" maxlength="4">
    </td>
  </tr>
  <tr class="noView">
    <td>Mes Proceso :</td>
    <td>
      <select name="cb_mr_month" id="cb_mr_month">
        <option value="1">Enero</option>
        <option value="2">Febrero</option>
        <option value="3">Marzo</option>
        <option value="4">Abril</option>
        <option value="5">Mayo</option>
        <option value="6">Junio</option>
        <option value="7">Julio</option>
        <option value="8">Agosto</option>
        <option value="9">Setiembre</option>
        <option value="10">Octubre</option>
        <option value="11">Noviembre</option>
        <option value="12">Diciembre</option>
      </select>
    </td>
  </tr>
  <tr>
    <td>Rango Análisis :</td>
    <td>
      <input name="t_mr_ini" class="tcal clsReq" type="text" id="t_mr_ini" size="15" maxlength="10">
      &nbsp;&nbsp;
    a&nbsp;&nbsp;
    <input name="t_mr_fin" class="tcal clsReq" type="text" id="t_mr_fin" size="15" maxlength="10">
   </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td></td>
  </tr>
  <tr>
    <td colspan="2">
    <hr></td>
  </tr>
  <tr>
    <td colspan="2">  
    <div id="d_res_month"></div>  
   </td>
  </tr>
</table>
<script type="text/javascript">
function viewResMonth(){

	if (!$("#tbl_dat_rmes").checkInput()){
	return;
	}
	var fini = GEBI('t_mr_ini').value;
	var ffin = GEBI('t_mr_fin').value;
	$("#d_res_month").loadx('Procesos/Opers/OperMantRes.php',{
		oper : 'view',
		fini : fini,
		ffin : ffin
	});
}
</script>